home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 33
/
Volume 33 - JOGO DISK .iso
/
Games
/
shoot_em_in.swf
/
scripts
/
DefineSprite_136
/
frame_89
/
DoAction.as
Wrap
Text File
|
2007-01-15
|
541b
|
14 lines
v3DPoint = screenToWorld(_parent.mcgoal._x,_parent.mcgoal._y,_Yfloor,_Focale,_scale,_xoffset,_yoffset);
v3DPoint2 = v3DPoint;
vxgoal = v3DPoint.x;
vygoal = v3DPoint.y;
vzgoal = v3DPoint.z;
vrgoal = v3DPoint.scale;
vtestgoal = 0;
v2DPoint = WorldToScreen(vxgoal,vygoal,vzgoal,_Focale,_scale,_xoffset,_yoffset);
_parent.mcgoal.gotoAndStop("stand-up");
_parent.mcgoal._x = v2DPoint.x;
_parent.mcgoal._y = v2DPoint.y;
_parent.mcgoal._xscale = v2DPoint.z * 2 * lplayerHeight;
_parent.mcgoal._yscale = v2DPoint.z * 2 * lplayerHeight;